package com.patent2.utils
{
	public class Common
	{
		public function Common()
		{
			
			
			
		}
		
		public static function countToolBoxHeight(wholeHeight:Number, topHeight:Number, bottomHeight:Number):Number{
			
			var a:Number = 0;
			a = wholeHeight - topHeight - bottomHeight;
			return a;
			
		}
		
		public static function countMainToolBoxWidth(wholeWidth:Number, leftBoxHeight:Number, gap:Number):Number{ 
			
			var a:Number = 0;
			a = wholeWidth - leftBoxHeight - gap;
			return a;
			
		}
	}
}